import os
import subprocess
from config import AUDIO_ROOT
def main(audio_file):
    if os.path.exists("/opt"):
        subprocess.run([f"{AUDIO_ROOT}/audio/sample_audio", "play", "2", audio_file])
    else:
        print("mimic playing audio")
if __name__ == "__main__":
    main("tts.pcm")
